import { Base } from '../../../utils/base.js';
class HomeIndex extends Base {
  constructor() {
    super();
  }

  feedback(data, callback) {  //个人资料
    var param = {
      url: 'user/feedback',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }

  fankuiover(data,callback){
    var param = {
      url:'user/feedback_success',
      type:"post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
  seach(data,callback){
    var param = {
      url: 'user/search_doctor',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }


 



};
export { HomeIndex };